package com.shiyi.configs;

import com.shiyi.service.DubboDemoService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @author qiu
 * @date 2021-03-06 上午 03:11
 * @since 1.0
 */
@Component
@Configuration
public class DubboServiceConfiguration {

    @DubboReference(version = "1.0.0", timeout = 1000, interfaceClass = DubboDemoService.class, group = "dubbo")
    private DubboDemoService dubboDemoService;
}
